<template>
  <!-- 标题导航栏 组件 -->
  <div class="title_navbar">
    <div class="left_box"><slot name="left"></slot></div>
    <div class="center"><slot name="center"></slot></div>
    <div class="right"><slot name="right"></slot></div>
  </div>
</template>

<script>
export default {
  setup() {},
};
</script>

<style lang="less" scoped>
.title_navbar {
  width: 100%;
  height: 100%;
  //   background-color: #fff;
  padding: 0 0.5rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #3b3936;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
  .right {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
  }
}
.left_box,
.center,
.right {
  display: flex;
  align-items: center;
}
</style>
